package com.ap.core.domain;

import org.hibernate.annotations.TypeDef;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User: Rohit.Dixit
 */
@Entity
@Table(name = "T_MESSAGE_GROUP_TYPE")
@AttributeOverride(name = "id",column = @Column(name = "message_group_type"))
@TypeDef(name = "id", typeClass = String.class)
public class MessageGroupType extends Identifiable<String>{

	private static final long serialVersionUID = 5651718725345910368L;

    @Column(name = "message_group_name")
    private String messageGroupName;

    @Column(name = "message_group_description")
    private String messageGroupDescription;

    private MessageGroupType(){}

	public String getMessageGroupDescription() {
		return messageGroupDescription;
	}

    public String getMessageGroupName() {
        return messageGroupName;
    }
}
